package com.bootdo.collection.controller;

import com.bootdo.collection.service.CollectionMenuService;
import com.bootdo.system.service.MenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

@RestController
public class CollectionMenuController {
    @Autowired
    private CollectionMenuService collectionMenuService;
    @Autowired
    MenuService menuService;
    @GetMapping("/collectionMenuController")
    public String getCollectionMenu(Map<String,Object> params){
       return collectionMenuService.navListMenuTree(params).toString();
    }
}
